package zondy.yapi.extProject.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * mongo监听操作
 */
@RestController
@RequestMapping("/test")
public class MongoController {

    /**
     * 你好
     */
    @GetMapping("/hello")
    public String hello() {
        return "Hello world";
    }

    /**
     * yapi导出时监听测试
     */
    @GetMapping("/hello2")
    public String hello2() {
        return "Hello world2";
    }

    /**
     * 你好3
     */
    @GetMapping("/hello3")
    public String hello3() {
        return "Hello world3";
    }

}
